export const column = [
    {
        label: 'ID',
        name: 'id',
    },
    {
        label: '文件名',
        name: 'name',
    },
    {
        label: '附件',
        name: 'filepath',
        accept: '.pdf',
    },
    {
        title: '操作',
        name: 'action',
        width: '260',
        buttons: [],
    },
]

export const config = [
    {
        name: 'name',
        type: 'input',
        placeholder: '请输入文件名',
        label: '文件名',
        required: true,
    },
    {
        name: 'filepath',
        type: 'file',
        label: '附件',
        action: '/api/report/upload',
        accept: '.pdf',
        required: true,
    },
]
